<!DOCTYPE html>
<html>
<head>
    <include file="./public/sty.html"/>
</head>
<body>
<div id="app" class="lottery">
    <div data-v-3a1bf799="" id="container" class="Trend_chart" s="[object Object]">
        <div data-v-3a1bf799="" class="select-section clearfix">
            <div data-v-3a1bf799="" class="select-function"><a data-v-3a1bf799=""  class="funAreaBtn"><em
                    data-v-3a1bf799="">收起功能区</em><i data-v-3a1bf799="" class="iconfont"></i></a>
                <a data-v-3a1bf799="" download="" class="btn"  href="{:U('Lottery/pk10_xiazai',array('qishu'=>$qishu))}">报表下载</a>
            </div>
            <div data-v-3a1bf799="" id="select_lottery"><h3 data-v-3a1bf799="" class="select-title">彩种：北京pk10</h3>
                <ul data-v-3a1bf799="" class="select-list">
                    <li data-v-3a1bf799="" class="current"><a data-v-3a1bf799="">基本走势</a></li>
                </ul>
            </div>
        </div>
        <div data-v-3a1bf799="" class="chart_control_cont">
            <div data-v-3a1bf799="" class="title">基本走势图</div>
            <div data-v-3a1bf799="" class="function"><label data-v-3a1bf799="" for="Guide" data-state="1" class="label"><input
                    data-v-3a1bf799="" name="Guide" checked type="checkbox" class="checkbox">辅助线</label> <label
                    data-v-3a1bf799="" for="Missing" data-state="1" class="label"><input data-v-3a1bf799="" name="Missing" checked
                                                                          type="checkbox" class="checkbox">遗漏</label>
                <label data-v-3a1bf799="" for="trend" data-state="1" class="label" style="display: none;"><input data-v-3a1bf799=""
                                                                                                  name="trend" checked
                                                                                                  type="checkbox">走势</label>
            </div>
            <div data-v-3a1bf799="" id="periods-data" class="time">
                <a data-v-3a1bf799="" class="<?php if($qishu==1){echo 'fb';} ?>"
                   href="{:U('Lottery/trendChart_pk10',array('qishu'=> '1'))}">近30期</a>
                <a data-v-3a1bf799="" class="<?php if($qishu==2){echo 'fb';} ?>"
                   href="{:U('Lottery/trendChart_pk10',array('qishu'=> '2'))}">近50期</a>
                <a data-v-3a1bf799="" class="<?php if($qishu==3){echo 'fb';} ?>"
                   href="{:U('Lottery/trendChart_pk10',array('qishu'=> '3'))}">近200期</a>
            </div>
        </div>
        <div data-v-3a1bf799="" id="J-chart-area" class="chart-section">
            <table data-v-3a1bf799="" width="100%" cellpadding="0" cellspacing="0" class="chart-table">
                <thead data-v-3a1bf799="" class="thead"><!----> <!----> <!----> <!----> <!---->
                <tr data-v-3a1bf799="" class="title-text">
                    <th data-v-3a1bf799="" rowspan="2" colspan="3" class="border-bottom border-right">期号</th>
                    <th data-v-3a1bf799="" colspan="3" rowspan="2" class="border-right border-bottom">开奖号码</th>
                    <th data-v-3a1bf799="" colspan="12" class="border-right border-bottom">冠军分布</th>
                    <th data-v-3a1bf799="" colspan="6" class="border-right border-bottom">冠军</th>
                    <th data-v-3a1bf799="" colspan="6" class="border-right border-bottom">冠军</th>
                    <th data-v-3a1bf799="" colspan="6" class="border-right border-bottom">冠军</th>
                    <th data-v-3a1bf799="" colspan="9" class="border-right border-bottom">冠军</th>
                    <th data-v-3a1bf799="" colspan="9" class="border-bottom">冠军</th>
                </tr>
                <tr data-v-3a1bf799="" class="title-number">
                    <th data-v-3a1bf799="" class="ball-none border-bottom"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">1</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">2</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">3</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">4</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">5</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">6</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">7</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">8</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">9</i>
                    </th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799="" class="ball-noraml">10</i>
                    </th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom  border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">奇</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">偶</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">大</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">小</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">质</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">合</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">0</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">1</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">2</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">升</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">平</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header"></th>
                    <th data-v-3a1bf799="" class="border-bottom-header"><i data-v-3a1bf799=""
                                                                           class="ball-noraml hezhixingtai">降</i></th>
                    <th data-v-3a1bf799="" class="ball-none border-bottom-header border-right"></th>
                </tr>
                <!----> <!----> <!----></thead>
                <tbody data-v-3a1bf799="" id="J-chart-content" class="chart table-guides"><!----> <!----> <!---->
                <!----> <!----> <!---->

                <foreach name="arr" item="v" key="k">


                    <tr data-v-3a1bf799="" class="">


                        <td data-v-3a1bf799="" class="ball-none"></td>
                        <!--期号-->
                        <td data-v-3a1bf799="" class="issue-numbers">{$v.issue}</td>
                        <td data-v-3a1bf799="" class="ball-none border-right"></td>
                        <td data-v-3a1bf799="" class="ball-none"></td>
                        <!--开奖码-->
                        <td data-v-3a1bf799="" class="">
                            <span data-v-3a1bf799="" class="lottery-numbers">{$v.opencode}</span>
                        </td>
                        <td data-v-3a1bf799="" class="ball-none border-right"></td>
                        <td data-v-3a1bf799="" class="ball-none"></td>

                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==01){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=01)){
                                     echo $rand1;
                                     $k1=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==01){
                                   echo "1"; $k1=1;
                                }else{echo $k1++;} ?>

                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==02){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=02)){
                                     echo $rand1;
                                     $k2=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==02){
                                   echo "2"; $k2=1;
                                }else{echo $k2++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==03){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=03)){
                                     echo $rand1;
                                     $k3=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==03){
                                   echo "3"; $k3=1;
                                }else{echo $k3++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==04){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=04)){
                                     echo $rand1;
                                     $k4=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==04){
                                   echo "4"; $k4=1;
                                }else{echo $k4++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==05){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=05)){
                                     echo $rand1;
                                     $k5=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==05){
                                   echo "5"; $k5=1;
                                }else{echo $k5++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==06){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=06)){
                                     echo $rand1;
                                     $k6=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==06){
                                   echo "6"; $k6=1;
                                }else{echo $k6++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==07){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=07)){
                                     echo $rand1;
                                     $k7=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==07){
                                   echo "7"; $k7=1;
                                }else{echo $k7++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)=='08'){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!='08')){
                                     echo $rand1;
                                     $k8=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)=='08'){
                                   echo "8"; $k8=1;
                                }else{echo $k8++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)=='09'){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!='09')){
                                     echo $rand1;
                                     $k9=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)=='09'){
                                   echo "9"; $k9=1;
                                }else{echo $k9++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==10){
                               echo 'openNo';} ?> guan">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=10)){
                                     echo $rand1;
                                     $k10=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==10){
                                   echo "10"; $k10=1;
                                }else{echo $k10++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" class="ball-none border-right"></td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)%2!=0){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)%2==0)){
                                     echo $rand2;
                                     $k11=$rand2+1;
                                }elseif(substr($v['opencode'],0,2)%2!=0){
                                   echo ""; $k11=1;
                                }else{echo $k11++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)%2==0){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)%2!=0)){
                                     echo $rand2;
                                     $k12=$rand2+1;
                                }elseif(substr($v['opencode'],0,2)%2==0){
                                   echo ""; $k12=1;
                                }else{echo $k12++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)>4){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)<5)){
                                     echo $rand3;
                                     $k13=$rand3+1;
                                }elseif(substr($v['opencode'],0,2)>4){
                                   echo ""; $k13=1;
                                }else{echo $k13++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)<5){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)>4)){
                                     echo $rand4;
                                     $k14=$rand4+1;
                                }elseif(substr($v['opencode'],0,2)<5){
                                echo ""; $k14=1;
                                }else{echo $k14++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml <?php if(substr($v['opencode'],0,2)==02 || substr($v['opencode'],0,2)==03 || substr($v['opencode'],0,2)==05 || substr($v['opencode'],0,2)==07){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)!=02 && substr($v['opencode'],0,2)!=03 && substr($v['opencode'],0,2)!=05 && substr($v['opencode'],0,2)!=07)){
                                echo $rand5;
                                $k15=$rand5+1;
                                }elseif(substr($v['opencode'],0,2)==02 || substr($v['opencode'],0,2)==03 || substr($v['opencode'],0,2)==05 || substr($v['opencode'],0,2)==07){
                                echo ""; $k15=1;
                                }else{echo $k15++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php if(substr($v['opencode'],0,2)!=02 && substr($v['opencode'],0,2)!=03 && substr($v['opencode'],0,2)!=05 && substr($v['opencode'],0,2)!=07){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)==02 || substr($v['opencode'],0,2)==03 || substr($v['opencode'],0,2)==05 || substr($v['opencode'],0,2)==07)){
                                echo $rand2;
                                $k16=$rand2+1;
                                }elseif(substr($v['opencode'],0,2)!=02 && substr($v['opencode'],0,2)!=03 && substr($v['opencode'],0,2)!=05 && substr($v['opencode'],0,2)!=07){
                                echo ""; $k16=1;
                                }else{echo $k16++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php if(substr($v['opencode'],0,2)%3==0){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)%3!=0)){
                                echo $rand1;
                                $k17=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)%3==0){
                                echo ""; $k17=1;
                                }else{echo $k17++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php if(substr($v['opencode'],0,2)%3==1){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)%3!=1)){
                                echo $rand4;
                                $k18=$rand4+1;
                                }elseif(substr($v['opencode'],0,2)%3==1){
                                echo ""; $k18=1;
                                }else{echo $k18++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php if(substr($v['opencode'],0,2)%3==2){
                                   echo 'duizi';} ?>">
                                <?php if($k==0 && (substr($v['opencode'],0,2)%3!=2)){
                                echo $rand6;
                                $k19=$rand6+1;
                                }elseif(substr($v['opencode'],0,2)%3==2){
                                echo ""; $k19=1;
                                }else{echo $k19++;} ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php
                                $aa = substr($arr[$k-1]['opencode'],0,2);
                                if(substr($v['opencode'],0,2)>$aa){
                                   echo 'duizi';} ?>">
                                <?php
                                  $aa = substr($arr[$k-1]['opencode'],0,2);
                                 if($k==0 && (substr($v['opencode'],0,2)==$aa || substr($v['opencode'],0,2)<$aa)){
                                echo $rand3;
                                $k20=$rand3+1;
                                }elseif(substr($v['opencode'],0,2)>$aa){
                                      echo ""; $k20=1;
                                }else{echo $k20++;}
                             ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php
                                $aa = substr($arr[$k-1]['opencode'],0,2);
                                if(substr($v['opencode'],0,2)==$aa){
                                   echo 'duizi';} ?>">
                                <?php
                                  $aa = substr($arr[$k-1]['opencode'],0,2);
                                 if($k==0 && (substr($v['opencode'],0,2)>$aa || substr($v['opencode'],0,2)<$aa)){
                                echo $rand1;
                                $k21=$rand1+1;
                                }elseif(substr($v['opencode'],0,2)==$aa){
                                echo ""; $k21=1;
                                }else{echo $k21++;}
                                ?>
                            </i>
                        </td>
                        <td data-v-3a1bf799="" colspan="3" class="border-right">
                            <i data-v-3a1bf799="" class="ball-noraml
                            <?php
                                $aa = substr($arr[$k-1]['opencode'],0,2);
                                if(substr($v['opencode'],0,2)<$aa){
                                   echo 'duizi';} ?>">
                                <?php
                                  $aa = substr($arr[$k-1]['opencode'],0,2);
                                 if($k==0 && (substr($v['opencode'],0,2)==$aa || substr($v['opencode'],0,2)>$aa)){
                                echo $rand5;
                                $k22=$rand5+1;
                                }elseif(substr($v['opencode'],0,2)<$aa){
                                echo ""; $k22=1;
                                }else{echo $k22++;}
                                ?>
                            </i>
                        </td>
                    </tr>
               </foreach>
                </tbody>
                <tfoot data-v-3a1bf799="" class="chart table-tfoot table-guides"><!----> <!----> <!----> <!----> <!---->
                <!----> </tfoot>
            </table>
        </div>
    </div>
    <!----> <!---->
</div>
<script>
    $(function(){
        var bdTbody = $("#J-chart-content").find("tr:nth-of-type(5n)");
        var bdTfoot = $(".table-tfoot").find("tr,td");
        bdTbody.addClass("border-bottom");
        bdTbody.find("td").addClass("border-bottom");
        bdTfoot.addClass("border-bottom");
        $(".label").each(function(i){
            var That = $(this);
            That.click(function(){
                if( That.data("state") == 1){
                    That.find("input").prop("checked",false);
                    That.data("state",2);
                }else{
                    That.find("input").prop("checked",true);
                    That.data("state",1);
                }
                if(That.find("input").is(":checked")){
                    if(i == 0){
                        bdTbody.addClass("border-bottom");
                        bdTbody.find("td").addClass("border-bottom");
                        bdTfoot.addClass("border-bottom");
                    }
                    if(i == 1){
                        $("#J-chart-content").find(".ball-noraml").not(".openNo").css("visibility","visible");
                    }
                }else{
                    if(i == 0){
                        bdTbody.removeClass("border-bottom");
                        bdTbody.find("td").removeClass("border-bottom");
                        bdTfoot.removeClass("border-bottom");
                    }
                    if(i == 1){
                        $("#J-chart-content").find(".ball-noraml").not(".openNo,.openNo-0,.openNo-1,.openNo-2,.openNo-3,.openNo-kuadu,.hezhizoushi,.hezhixingtai,.haomaxingtai,.duizi").css("visibility","hidden");

                    }
                }

            })
        });
//        折叠功能区
        $(".funAreaBtn").click(function(){
            $(this).toggleClass("curr");
            if($(this).hasClass("curr")){
                $(this).find("em").text("展开功能区");
                $(".chart_control_cont").hide();
            }else{
                $(this).find("em").text("收起功能区");
                $(".chart_control_cont").show();
            }

        })
    })
</script>
</body>
</html>